package com.proposition.commons.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 第二站组卷策略
 *
 * @author Administrator
 */
@Alias("StrategyTwo")
@TableName("paper_strategy_two")
public class StrategyTwo extends Model<StrategyTwo> {
	@TableId
	private int id;
	private String exam1;
	private String exam2;
	@TableField("exam_sk")
	private int examSK;
	@TableField("exam_fk")
	private int examFK;
	@TableField("exam_nk")
	private int examNK;
	@TableField("exam_ek")
	private int examEK;
	@TableField("created")
	private Timestamp created;
	/**
	 * 自动组卷或者人工组卷
	 */
	private int strategy;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getExam1() {
		return exam1;
	}

	public void setExam1(String exam1) {
		this.exam1 = exam1;
	}

	public String getExam2() {
		return exam2;
	}

	public void setExam2(String exam2) {
		this.exam2 = exam2;
	}

	public int getExamSK() {
		return examSK;
	}

	public void setExamSK(int examSK) {
		this.examSK = examSK;
	}

	public int getExamFK() {
		return examFK;
	}

	public void setExamFK(int examFK) {
		this.examFK = examFK;
	}

	public int getExamNK() {
		return examNK;
	}

	public void setExamNK(int examNK) {
		this.examNK = examNK;
	}

	public int getExamEK() {
		return examEK;
	}

	public void setExamEK(int examEK) {
		this.examEK = examEK;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public int getStrategy() {
		return strategy;
	}

	public void setStrategy(int strategy) {
		this.strategy = strategy;
	}


	@Override
	public String toString() {
		return "StrategyTwo{" +
				"id=" + id +
				", exam1='" + exam1 + '\'' +
				", exam2='" + exam2 + '\'' +
				", examSK=" + examSK +
				", examFK=" + examFK +
				", examNK=" + examNK +
				", examEK=" + examEK +
				", created=" + created +
				", strategy=" + strategy +
				'}';
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
